package com.zhaoxi.springboot.mapper.springbootmapper.service;

import com.zhaoxi.springboot.mapper.springbootmapper.entity.User;
import com.zhaoxi.springboot.mapper.springbootmapper.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author ZXM
 * @description TODO
 * @date 2024/3/5 1:14
 */
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;


    @Override
    public int saveUser(User user) {
        return userMapper.insertSelective(user);
    }
}
